<?xml version="1.0" encoding="UTF-8"?>
<configuration>

 <!--  log to System.out on console  -->
 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
  <encoder>
   <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
  </encoder>
 </appender>
 
 <!--  log to file test.log  -->
 <appender name="TEST_LOG" class="ch.qos.logback.core.FileAppender">
  <file>test.log</file>
  <encoder>
   <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
  </encoder>
 </appender>

 <root level="INFO">
  <appender-ref ref="STDOUT" />
  <appender-ref ref="TEST_LOG" />
 </root>
 <logger name="org.ops4j.pax.exam" level="INFO" />

</configuration>
